import seaborn as sns
from sklearn.datasets import load_iris
import pandas as pd
from matplotlib import pyplot as plt

iris=pd.DataFrame(load_iris()['data'])
names=['setosa','versicolor','virginica']
species=pd.Series([ names[i] for i in load_iris()['target'] ])
iris.columns=pd.Index(['sepal_length','sepal_width','petal_length','petal_width'])
iris.insert(4,'species',species)
sns.set()

sns.regplot(x='sepal_length',y='sepal_width',data=iris)
plt.show()

sns.lmplot(x='sepal_length',y='sepal_width',hue='species',data=iris)
plt.show()
